<?php
use App\Winged\Auth\Consts\Roles ;
return [
    'menu' => [
        [
            'order'     => 1,
            'title'     => '病例统计',
            'icon'      => 'fa-bar-chart',
            'uri'       => '/patients/statistics',
            'service'   => 'medicalcase',
            'parent_id' => 0,
            'roles'     => [
                Roles::MASTER_SUPERADMIN ,
                Roles::TENANT_ADMIN,
                Roles::MEDICALCASE_SUPERVISOR,
            ],
        ], [
            'order'     => 2,
            'title'     => '病例列表',
            'icon'      => 'fa-briefcase',
            'uri'       => '/patients/spa#/case/list',
            'service'   => 'medicalcase',
            'parent_id' => 0,
            'roles'     => [
                Roles::MASTER_SUPERADMIN ,
                Roles::TENANT_ADMIN,
                Roles::MEDICALCASE_SUPERVISOR,
                Roles::MEDICALCASE_DOCTOR,
            ],
        ], [
            'order'     => 3,
            'title'     => '患者列表', 
            'icon'      => 'fa-users',
            'uri'       => '/patients/spa#/patient/list',
            'service'   => 'medicalcase',
            'parent_id' => 0,
            'roles'     => [
                Roles::MASTER_SUPERADMIN ,
                Roles::TENANT_ADMIN,
                Roles::MEDICALCASE_SUPERVISOR,
                Roles::MEDICALCASE_DOCTOR,
            ],
        ],
    ],
    'roles' => [
          [
            'slug' => Roles::MEDICALCASE_DOCTOR,
            'name' => '主管医师',
        ], [
            'slug' => Roles::MEDICALCASE_SUPERVISOR,
            'name' => '住院医师',
        ],
    ],
];
